/*
 * Created by JFormDesigner on Wed May 25 13:34:14 CST 2022
 */

package jw3.c2.view;

import jw3.c2.controller.OpensController;

import java.awt.*;
import java.awt.event.*;
import javax.swing.*;

/**
 * @author Brainrain
 */
public class Cust extends JFrame {
    public Cust() {
        initComponents();
        this.setVisible(true);
        this.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
    }

    private void button2MouseClicked(MouseEvent e) {
        // TODO add your code here
        this.panel1.setVisible(false);
        this.panel2.setVisible(true);
        this.panel5.setVisible(false);
        this.panel6.setVisible(false);
        this.panel7.setVisible(false);
    }

    private void button1MouseClicked(MouseEvent e) {
        // TODO add your code here
        this.panel1.setVisible(true);
        this.panel2.setVisible(false);
        this.panel5.setVisible(false);
        this.panel6.setVisible(false);
        this.panel7.setVisible(false);
    }

    private void comboBox3InputMethodTextChanged(InputMethodEvent e) {
        // TODO add your code here
        if (comboBox3.getPrototypeDisplayValue()=="无会员"){
            textField6.setText("0.95");
        }else if (comboBox3.getPrototypeDisplayValue()=="普通会员"){
            textField6.setText("0.85");
        }else {
            textField6.setText("0.65");
        }
    }

    private void initComponents() {
        // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
        button1 = new JButton();
        button2 = new JButton();
        button3 = new JButton();
        button4 = new JButton();
        button5 = new JButton();
        panel1 = new JPanel();
        label6 = new JLabel();
        label8 = new JLabel();
        label9 = new JLabel();
        label10 = new JLabel();
        label11 = new JLabel();
        label12 = new JLabel();
        label13 = new JLabel();
        comboBox1 = new JComboBox();
        label14 = new JLabel();
        textField1 = new JTextField();
        label15 = new JLabel();
        comboBox2 = new JComboBox();
        label16 = new JLabel();
        comboBox3 = new JComboBox();
        label17 = new JLabel();
        textField2 = new JTextField();
        label18 = new JLabel();
        textField3 = new JTextField();
        label19 = new JLabel();
        textField4 = new JTextField();
        label20 = new JLabel();
        textField5 = new JTextField();
        label21 = new JLabel();
        textField6 = new JTextField();
        label22 = new JLabel();
        textField7 = new JTextField();
        label23 = new JLabel();
        textField8 = new JTextField();
        label24 = new JLabel();
        textField9 = new JTextField();
        checkBox1 = new JCheckBox();
        spinner1 = new JSpinner();
        label25 = new JLabel();
        label26 = new JLabel();
        label27 = new JLabel();
        spinner2 = new JSpinner();
        button6 = new JButton();
        button7 = new JButton();
        label28 = new JLabel();
        button8 = new JButton();
        button9 = new JButton();
        panel2 = new JPanel();
        label29 = new JLabel();
        label30 = new JLabel();
        label31 = new JLabel();
        comboBox4 = new JComboBox();
        panel3 = new JPanel();
        scrollPane1 = new JScrollPane();
        table1 = new JTable();
        panel4 = new JPanel();
        scrollPane2 = new JScrollPane();
        table2 = new JTable();
        label1 = new JLabel();
        button10 = new JButton();
        button11 = new JButton();
        comboBox5 = new JComboBox();
        label2 = new JLabel();
        comboBox6 = new JComboBox();
        label3 = new JLabel();
        radioButton1 = new JRadioButton();
        radioButton2 = new JRadioButton();
        label4 = new JLabel();
        textField10 = new JTextField();
        label5 = new JLabel();
        textField11 = new JTextField();
        label7 = new JLabel();
        textField12 = new JTextField();
        label32 = new JLabel();
        textField13 = new JTextField();
        label33 = new JLabel();
        textField14 = new JTextField();
        label34 = new JLabel();
        textField15 = new JTextField();
        label35 = new JLabel();
        textField16 = new JTextField();
        checkBox2 = new JCheckBox();
        button12 = new JButton();
        button13 = new JButton();
        panel5 = new JPanel();
        label36 = new JLabel();
        textField17 = new JTextField();
        label37 = new JLabel();
        label38 = new JLabel();
        label39 = new JLabel();
        label40 = new JLabel();
        label41 = new JLabel();
        label42 = new JLabel();
        label43 = new JLabel();
        label44 = new JLabel();
        label45 = new JLabel();
        label46 = new JLabel();
        label47 = new JLabel();
        label48 = new JLabel();
        label49 = new JLabel();
        textField18 = new JTextField();
        button14 = new JButton();
        button15 = new JButton();
        label50 = new JLabel();
        panel8 = new JPanel();
        scrollPane3 = new JScrollPane();
        table3 = new JTable();
        panel6 = new JPanel();
        panel7 = new JPanel();

        //======== this ========
        setTitle("\u5f00\u623f\u7ba1\u7406");
        Container contentPane = getContentPane();
        contentPane.setLayout(null);

        //---- button1 ----
        button1.setText("\u6563\u5ba2\u5f00\u623f");
        button1.addMouseListener(new MouseAdapter() {
            @Override
            public void mouseClicked(MouseEvent e) {
                button1MouseClicked(e);
            }
        });
        contentPane.add(button1);
        button1.setBounds(new Rectangle(new Point(20, 10), button1.getPreferredSize()));

        //---- button2 ----
        button2.setText("\u56e2\u961f\u5f00\u623f");
        button2.addMouseListener(new MouseAdapter() {
            @Override
            public void mouseClicked(MouseEvent e) {
                button2MouseClicked(e);
            }
        });
        contentPane.add(button2);
        button2.setBounds(new Rectangle(new Point(123, 10), button2.getPreferredSize()));

        //---- button3 ----
        button3.setText("\u5bbe\u5ba2\u7ed3\u8d26");
        contentPane.add(button3);
        button3.setBounds(new Rectangle(new Point(220, 10), button3.getPreferredSize()));

        //---- button4 ----
        button4.setText("\u5ba2\u6237\u9884\u5b9a");
        contentPane.add(button4);
        button4.setBounds(new Rectangle(new Point(322, 10), button4.getPreferredSize()));

        //---- button5 ----
        button5.setText("\u5bbe\u5ba2\u7eed\u4f4f");
        contentPane.add(button5);
        button5.setBounds(new Rectangle(new Point(419, 10), button5.getPreferredSize()));

        //======== panel1 ========
        {
            panel1.setVisible(false);
            panel1.setLayout(null);

            //---- label6 ----
            label6.setText("\u4e3b\u5ba2\u623f\u95f4\uff1a");
            panel1.add(label6);
            label6.setBounds(0, 0, 60, 25);

            //---- label8 ----
            label8.setText("text");
            panel1.add(label8);
            label8.setBounds(65, 0, 75, 25);

            //---- label9 ----
            label9.setText("\u623f\u95f4\u7c7b\u578b\uff1a");
            panel1.add(label9);
            label9.setBounds(158, 0, 60, 25);

            //---- label10 ----
            label10.setText("text");
            panel1.add(label10);
            label10.setBounds(223, 2, 90, 25);

            //---- label11 ----
            label11.setText("\u623f\u95f4\u5355\u4ef7\uff1a");
            panel1.add(label11);
            label11.setBounds(341, 2, 60, 25);

            //---- label12 ----
            label12.setText("text");
            panel1.add(label12);
            label12.setBounds(405, 2, 75, 25);

            //---- label13 ----
            label13.setText("\u8bc1\u4ef6\u7c7b\u578b\uff1a");
            panel1.add(label13);
            label13.setBounds(1, 25, 60, 25);
            panel1.add(comboBox1);
            comboBox1.setBounds(64, 22, 76, comboBox1.getPreferredSize().height);

            //---- label14 ----
            label14.setText("\u8bc1\u4ef6\u7f16\u7801\uff1a");
            panel1.add(label14);
            label14.setBounds(163, 25, 60, 25);
            panel1.add(textField1);
            textField1.setBounds(223, 24, 127, 26);

            //---- label15 ----
            label15.setText("\u4e3b\u5ba2\u6027\u522b\uff1a");
            panel1.add(label15);
            label15.setBounds(360, 25, 60, 25);
            panel1.add(comboBox2);
            comboBox2.setBounds(420, 22, 70, comboBox2.getPreferredSize().height);

            //---- label16 ----
            label16.setText("\u4e3b\u5ba2\u7c7b\u578b\uff1a");
            panel1.add(label16);
            label16.setBounds(0, 60, 60, 25);

            //---- comboBox3 ----
            comboBox3.addInputMethodListener(new InputMethodListener() {
                @Override
                public void caretPositionChanged(InputMethodEvent e) {}
                @Override
                public void inputMethodTextChanged(InputMethodEvent e) {
                    comboBox3InputMethodTextChanged(e);
                }
            });
            panel1.add(comboBox3);
            comboBox3.setBounds(63, 57, 97, 30);

            //---- label17 ----
            label17.setText("\u4e3b\u5ba2\u59d3\u540d\uff1a");
            panel1.add(label17);
            label17.setBounds(176, 60, 60, 25);
            panel1.add(textField2);
            textField2.setBounds(236, 59, 110, 26);

            //---- label18 ----
            label18.setText("\u4f4f\u5ba2\u4eba\u6570\uff1a");
            panel1.add(label18);
            label18.setBounds(366, 60, 60, 25);
            panel1.add(textField3);
            textField3.setBounds(432, 59, 60, 26);

            //---- label19 ----
            label19.setText("\u5730\u5740\u4fe1\u606f\uff1a");
            panel1.add(label19);
            label19.setBounds(1, 90, 64, 25);
            panel1.add(textField4);
            textField4.setBounds(75, 90, 315, 25);

            //---- label20 ----
            label20.setText("\u4e3b\u5ba2\u7535\u8bdd\uff1a");
            panel1.add(label20);
            label20.setBounds(0, 120, 64, 25);
            panel1.add(textField5);
            textField5.setBounds(74, 120, 161, 25);

            //---- label21 ----
            label21.setText("\u6298\u6263\uff1a");
            panel1.add(label21);
            label21.setBounds(1, 150, 39, 20);
            panel1.add(textField6);
            textField6.setBounds(45, 148, 50, 25);

            //---- label22 ----
            label22.setText("\u5b9e\u9645\u5355\u4ef7\uff1a");
            panel1.add(label22);
            label22.setBounds(115, 150, 60, 20);
            panel1.add(textField7);
            textField7.setBounds(174, 148, 56, 25);

            //---- label23 ----
            label23.setText("\u9884\u4f4f\u5929\u6570\uff1a");
            panel1.add(label23);
            label23.setBounds(240, 150, 60, 20);
            panel1.add(textField8);
            textField8.setBounds(302, 148, 45, 25);

            //---- label24 ----
            label24.setText("\u5b9e\u6536\u62bc\u91d1\uff1a");
            panel1.add(label24);
            label24.setBounds(364, 150, 60, 20);
            panel1.add(textField9);
            textField9.setBounds(435, 148, 55, 25);

            //---- checkBox1 ----
            checkBox1.setText("\u5230\u9884\u4f4f\u5929\u6570\u65f6\u81ea\u52a8\u63d0\u9192");
            panel1.add(checkBox1);
            checkBox1.setBounds(new Rectangle(new Point(310, 117), checkBox1.getPreferredSize()));
            panel1.add(spinner1);
            spinner1.setBounds(55, 240, 120, 80);

            //---- label25 ----
            label25.setText("\u8ffd\u52a0\u623f\u95f4");
            panel1.add(label25);
            label25.setBounds(15, 180, 50, 20);

            //---- label26 ----
            label26.setText("\u53ef\u4f9b\u623f\u95f4");
            panel1.add(label26);
            label26.setBounds(55, 210, 120, 30);

            //---- label27 ----
            label27.setText("\u5f00\u5355\u623f\u95f4");
            panel1.add(label27);
            label27.setBounds(290, 210, 120, 30);
            panel1.add(spinner2);
            spinner2.setBounds(290, 240, 120, 80);

            //---- button6 ----
            button6.setText("\u6dfb\u52a0");
            panel1.add(button6);
            button6.setBounds(215, 245, 45, 20);

            //---- button7 ----
            button7.setText("\u79fb\u9664");
            panel1.add(button7);
            button7.setBounds(215, 285, 45, 20);

            //---- label28 ----
            label28.setText("\u6ce8\uff1a\u53ea\u80fd\u8ffd\u52a0\u540c\u7c7b\u578b\u623f\u95f4\uff0c\u6700\u591a4\u95f4\uff01\u82e5\u8981\u8ffd\u52a0\u4e0d\u80fd\u540c\u7c7b\u578b\u7684\u623f\u95f4\u8bf7\u9009\u62e9\u201c\u56e2\u4f53\u5f00\u5355\u201d");
            label28.setForeground(Color.red);
            panel1.add(label28);
            label28.setBounds(40, 325, 450, label28.getPreferredSize().height);

            //---- button8 ----
            button8.setText("\u786e\u5b9a");
            panel1.add(button8);
            button8.setBounds(new Rectangle(new Point(110, 346), button8.getPreferredSize()));

            //---- button9 ----
            button9.setText("\u53d6\u6d88");
            panel1.add(button9);
            button9.setBounds(265, 346, 78, 30);

            {
                // compute preferred size
                Dimension preferredSize = new Dimension();
                for(int i = 0; i < panel1.getComponentCount(); i++) {
                    Rectangle bounds = panel1.getComponent(i).getBounds();
                    preferredSize.width = Math.max(bounds.x + bounds.width, preferredSize.width);
                    preferredSize.height = Math.max(bounds.y + bounds.height, preferredSize.height);
                }
                Insets insets = panel1.getInsets();
                preferredSize.width += insets.right;
                preferredSize.height += insets.bottom;
                panel1.setMinimumSize(preferredSize);
                panel1.setPreferredSize(preferredSize);
            }
        }
        contentPane.add(panel1);
        panel1.setBounds(10, 45, 510, 410);

        //======== panel2 ========
        {
            panel2.setVisible(false);
            panel2.setLayout(null);

            //---- label29 ----
            label29.setText("\u623f\u95f4\u4fe1\u606f");
            panel2.add(label29);
            label29.setBounds(90, 5, 55, 25);

            //---- label30 ----
            label30.setText("\u5f00\u5355\u623f\u95f4");
            panel2.add(label30);
            label30.setBounds(355, 5, 55, 25);

            //---- label31 ----
            label31.setText("\u623f\u95f4\u7c7b\u578b\uff1a");
            panel2.add(label31);
            label31.setBounds(40, 40, 70, 25);
            panel2.add(comboBox4);
            comboBox4.setBounds(new Rectangle(new Point(125, 37), comboBox4.getPreferredSize()));

            //======== panel3 ========
            {
                panel3.setLayout(null);

                //======== scrollPane1 ========
                {
                    scrollPane1.setViewportView(table1);
                }
                panel3.add(scrollPane1);
                scrollPane1.setBounds(15, 0, 225, 95);

                {
                    // compute preferred size
                    Dimension preferredSize = new Dimension();
                    for(int i = 0; i < panel3.getComponentCount(); i++) {
                        Rectangle bounds = panel3.getComponent(i).getBounds();
                        preferredSize.width = Math.max(bounds.x + bounds.width, preferredSize.width);
                        preferredSize.height = Math.max(bounds.y + bounds.height, preferredSize.height);
                    }
                    Insets insets = panel3.getInsets();
                    preferredSize.width += insets.right;
                    preferredSize.height += insets.bottom;
                    panel3.setMinimumSize(preferredSize);
                    panel3.setPreferredSize(preferredSize);
                }
            }
            panel2.add(panel3);
            panel3.setBounds(new Rectangle(new Point(0, 72), panel3.getPreferredSize()));

            //======== panel4 ========
            {
                panel4.setLayout(null);

                //======== scrollPane2 ========
                {
                    scrollPane2.setViewportView(table2);
                }
                panel4.add(scrollPane2);
                scrollPane2.setBounds(5, 0, 205, 135);

                {
                    // compute preferred size
                    Dimension preferredSize = new Dimension();
                    for(int i = 0; i < panel4.getComponentCount(); i++) {
                        Rectangle bounds = panel4.getComponent(i).getBounds();
                        preferredSize.width = Math.max(bounds.x + bounds.width, preferredSize.width);
                        preferredSize.height = Math.max(bounds.y + bounds.height, preferredSize.height);
                    }
                    Insets insets = panel4.getInsets();
                    preferredSize.width += insets.right;
                    preferredSize.height += insets.bottom;
                    panel4.setMinimumSize(preferredSize);
                    panel4.setPreferredSize(preferredSize);
                }
            }
            panel2.add(panel4);
            panel4.setBounds(280, 30, 215, panel4.getPreferredSize().height);

            //---- label1 ----
            label1.setText("\u8bc1\u4ef6\u7c7b\u578b\uff1a");
            panel2.add(label1);
            label1.setBounds(16, 194, 64, 25);

            //---- button10 ----
            button10.setText("\u6dfb\u52a0\u5230\u5f00\u5355\u533a");
            panel2.add(button10);
            button10.setBounds(13, 165, 227, button10.getPreferredSize().height);

            //---- button11 ----
            button11.setText("\u4ece\u5f00\u5355\u533a\u5220\u9664");
            panel2.add(button11);
            button11.setBounds(283, 164, 210, 30);
            panel2.add(comboBox5);
            comboBox5.setBounds(new Rectangle(new Point(81, 194), comboBox5.getPreferredSize()));

            //---- label2 ----
            label2.setText("VIP\u7c7b\u578b\uff1a");
            panel2.add(label2);
            label2.setBounds(181, 194, 60, 25);
            panel2.add(comboBox6);
            comboBox6.setBounds(new Rectangle(new Point(246, 194), comboBox6.getPreferredSize()));

            //---- label3 ----
            label3.setText("\u4e3b\u5ba2\u6027\u522b\uff1a");
            panel2.add(label3);
            label3.setBounds(350, 194, 60, 25);

            //---- radioButton1 ----
            radioButton1.setText("\u7537");
            panel2.add(radioButton1);
            radioButton1.setBounds(new Rectangle(new Point(410, 194), radioButton1.getPreferredSize()));

            //---- radioButton2 ----
            radioButton2.setText("\u5973");
            panel2.add(radioButton2);
            radioButton2.setBounds(new Rectangle(new Point(450, 194), radioButton2.getPreferredSize()));

            //---- label4 ----
            label4.setText("\u8bc1\u4ef6\u7f16\u53f7\uff1a");
            panel2.add(label4);
            label4.setBounds(16, 232, 64, 25);
            panel2.add(textField10);
            textField10.setBounds(80, 231, 145, 27);

            //---- label5 ----
            label5.setText("\u4e3b\u5ba2\u59d3\u540d\uff1a");
            panel2.add(label5);
            label5.setBounds(230, 232, 64, 25);
            panel2.add(textField11);
            textField11.setBounds(295, 232, 75, 25);

            //---- label7 ----
            label7.setText("\u5bbe\u5ba2\u4eba\u6570:");
            panel2.add(label7);
            label7.setBounds(380, 232, 65, 25);
            panel2.add(textField12);
            textField12.setBounds(440, 232, 60, 25);

            //---- label32 ----
            label32.setText("\u62bc\u91d1\uff1a");
            panel2.add(label32);
            label32.setBounds(20, 265, 64, 25);
            panel2.add(textField13);
            textField13.setBounds(85, 265, 80, 27);

            //---- label33 ----
            label33.setText("\u623f\u95f4\u7f16\u53f7\uff1a");
            panel2.add(label33);
            label33.setBounds(175, 265, 64, 25);
            panel2.add(textField14);
            textField14.setBounds(240, 265, 115, 27);

            //---- label34 ----
            label34.setText("\u9884\u4f4f\u5929\u6570\uff1a");
            panel2.add(label34);
            label34.setBounds(362, 267, 60, 25);
            panel2.add(textField15);
            textField15.setBounds(427, 266, 75, 25);

            //---- label35 ----
            label35.setText("\u5730\u5740\u4fe1\u606f\uff1a");
            panel2.add(label35);
            label35.setBounds(15, 295, 60, 20);
            panel2.add(textField16);
            textField16.setBounds(80, 295, 300, 25);

            //---- checkBox2 ----
            checkBox2.setText("\u5230\u9884\u4f4f\u65f6\u95f4\u65f6\u81ea\u52a8\u63d0\u9192");
            panel2.add(checkBox2);
            checkBox2.setBounds(25, 325, 185, 25);

            //---- button12 ----
            button12.setText("\u786e\u5b9a");
            panel2.add(button12);
            button12.setBounds(new Rectangle(new Point(110, 365), button12.getPreferredSize()));

            //---- button13 ----
            button13.setText("\u53d6\u6d88");
            panel2.add(button13);
            button13.setBounds(new Rectangle(new Point(265, 365), button13.getPreferredSize()));

            {
                // compute preferred size
                Dimension preferredSize = new Dimension();
                for(int i = 0; i < panel2.getComponentCount(); i++) {
                    Rectangle bounds = panel2.getComponent(i).getBounds();
                    preferredSize.width = Math.max(bounds.x + bounds.width, preferredSize.width);
                    preferredSize.height = Math.max(bounds.y + bounds.height, preferredSize.height);
                }
                Insets insets = panel2.getInsets();
                preferredSize.width += insets.right;
                preferredSize.height += insets.bottom;
                panel2.setMinimumSize(preferredSize);
                panel2.setPreferredSize(preferredSize);
            }
        }
        contentPane.add(panel2);
        panel2.setBounds(10, 45, 510, 410);

        //======== panel5 ========
        {
            panel5.setVisible(false);
            panel5.setLayout(null);

            //---- label36 ----
            label36.setText("\u7ed3\u8d26\u623f\u95f4\uff1a");
            panel5.add(label36);
            label36.setBounds(15, 5, 60, 25);
            panel5.add(textField17);
            textField17.setBounds(75, 6, 90, 28);

            //---- label37 ----
            label37.setText("\u7ed3\u8d26\u5355\u53f7\uff1a");
            panel5.add(label37);
            label37.setBounds(170, 10, 60, 25);

            //---- label38 ----
            label38.setText("text");
            panel5.add(label38);
            label38.setBounds(230, 10, 105, 25);

            //---- label39 ----
            label39.setText("\u5bbe\u5ba2\u59d3\u540d\uff1a");
            panel5.add(label39);
            label39.setBounds(345, 10, 65, 25);

            //---- label40 ----
            label40.setText("text");
            panel5.add(label40);
            label40.setBounds(420, 11, 75, 24);

            //---- label41 ----
            label41.setText("\u6d88\u8d39\u91d1\u989d\uff1a");
            panel5.add(label41);
            label41.setBounds(11, 39, 60, 25);

            //---- label42 ----
            label42.setText("text");
            panel5.add(label42);
            label42.setBounds(81, 40, 59, 25);

            //---- label43 ----
            label43.setText("\u5e94\u6536\u91d1\u989d\uff1a");
            panel5.add(label43);
            label43.setBounds(190, 40, 60, 25);

            //---- label44 ----
            label44.setText("text");
            panel5.add(label44);
            label44.setBounds(255, 40, 55, 25);

            //---- label45 ----
            label45.setText("\u5df2\u6536\u62bc\u91d1\uff1a");
            panel5.add(label45);
            label45.setBounds(345, 40, 60, 25);

            //---- label46 ----
            label46.setText("text");
            panel5.add(label46);
            label46.setBounds(410, 40, 60, 25);

            //---- label47 ----
            label47.setText("\u4f18\u60e0\uff1a");
            panel5.add(label47);
            label47.setBounds(20, 70, 40, 25);

            //---- label48 ----
            label48.setText("text");
            panel5.add(label48);
            label48.setBounds(70, 70, 60, 25);

            //---- label49 ----
            label49.setText("\u5bbe\u5ba2\u5b9e\u4ed8\uff1a");
            panel5.add(label49);
            label49.setBounds(185, 70, 60, 25);
            panel5.add(textField18);
            textField18.setBounds(250, 67, 90, textField18.getPreferredSize().height);

            //---- button14 ----
            button14.setText("\u7ed3\u8d26");
            panel5.add(button14);
            button14.setBounds(new Rectangle(new Point(70, 135), button14.getPreferredSize()));

            //---- button15 ----
            button15.setText("\u53d6\u6d88");
            panel5.add(button15);
            button15.setBounds(new Rectangle(new Point(240, 135), button15.getPreferredSize()));

            //---- label50 ----
            label50.setText("\u7ed3\u8d26\u623f\u95f4\u6d88\u8d39\u6e05\u5355");
            panel5.add(label50);
            label50.setBounds(190, 180, 110, 25);

            //======== panel8 ========
            {
                panel8.setLayout(null);

                //======== scrollPane3 ========
                {
                    scrollPane3.setViewportView(table3);
                }
                panel8.add(scrollPane3);
                scrollPane3.setBounds(10, 10, 490, 100);

                {
                    // compute preferred size
                    Dimension preferredSize = new Dimension();
                    for(int i = 0; i < panel8.getComponentCount(); i++) {
                        Rectangle bounds = panel8.getComponent(i).getBounds();
                        preferredSize.width = Math.max(bounds.x + bounds.width, preferredSize.width);
                        preferredSize.height = Math.max(bounds.y + bounds.height, preferredSize.height);
                    }
                    Insets insets = panel8.getInsets();
                    preferredSize.width += insets.right;
                    preferredSize.height += insets.bottom;
                    panel8.setMinimumSize(preferredSize);
                    panel8.setPreferredSize(preferredSize);
                }
            }
            panel5.add(panel8);
            panel8.setBounds(5, 215, 505, 125);

            {
                // compute preferred size
                Dimension preferredSize = new Dimension();
                for(int i = 0; i < panel5.getComponentCount(); i++) {
                    Rectangle bounds = panel5.getComponent(i).getBounds();
                    preferredSize.width = Math.max(bounds.x + bounds.width, preferredSize.width);
                    preferredSize.height = Math.max(bounds.y + bounds.height, preferredSize.height);
                }
                Insets insets = panel5.getInsets();
                preferredSize.width += insets.right;
                preferredSize.height += insets.bottom;
                panel5.setMinimumSize(preferredSize);
                panel5.setPreferredSize(preferredSize);
            }
        }
        contentPane.add(panel5);
        panel5.setBounds(10, 45, 510, 410);

        //======== panel6 ========
        {
            panel6.setLayout(null);

            {
                // compute preferred size
                Dimension preferredSize = new Dimension();
                for(int i = 0; i < panel6.getComponentCount(); i++) {
                    Rectangle bounds = panel6.getComponent(i).getBounds();
                    preferredSize.width = Math.max(bounds.x + bounds.width, preferredSize.width);
                    preferredSize.height = Math.max(bounds.y + bounds.height, preferredSize.height);
                }
                Insets insets = panel6.getInsets();
                preferredSize.width += insets.right;
                preferredSize.height += insets.bottom;
                panel6.setMinimumSize(preferredSize);
                panel6.setPreferredSize(preferredSize);
            }
        }
        contentPane.add(panel6);
        panel6.setBounds(0, 460, 510, 410);

        //======== panel7 ========
        {
            panel7.setLayout(null);

            {
                // compute preferred size
                Dimension preferredSize = new Dimension();
                for(int i = 0; i < panel7.getComponentCount(); i++) {
                    Rectangle bounds = panel7.getComponent(i).getBounds();
                    preferredSize.width = Math.max(bounds.x + bounds.width, preferredSize.width);
                    preferredSize.height = Math.max(bounds.y + bounds.height, preferredSize.height);
                }
                Insets insets = panel7.getInsets();
                preferredSize.width += insets.right;
                preferredSize.height += insets.bottom;
                panel7.setMinimumSize(preferredSize);
                panel7.setPreferredSize(preferredSize);
            }
        }
        contentPane.add(panel7);
        panel7.setBounds(new Rectangle(new Point(0, 465), panel7.getPreferredSize()));

        {
            // compute preferred size
            Dimension preferredSize = new Dimension();
            for(int i = 0; i < contentPane.getComponentCount(); i++) {
                Rectangle bounds = contentPane.getComponent(i).getBounds();
                preferredSize.width = Math.max(bounds.x + bounds.width, preferredSize.width);
                preferredSize.height = Math.max(bounds.y + bounds.height, preferredSize.height);
            }
            Insets insets = contentPane.getInsets();
            preferredSize.width += insets.right;
            preferredSize.height += insets.bottom;
            contentPane.setMinimumSize(preferredSize);
            contentPane.setPreferredSize(preferredSize);
        }
        pack();
        setLocationRelativeTo(getOwner());
        // JFormDesigner - End of component initialization  //GEN-END:initComponents
        comboBox1.addItem("身份证");
        comboBox1.addItem("护照");
        comboBox2.addItem("男");
        comboBox2.addItem("女");
        comboBox3.addItem("普通客户");
        comboBox3.addItem("普通会员");
        comboBox3.addItem("超级会员");
        OpensController opensController=new OpensController();
    }

    // JFormDesigner - Variables declaration - DO NOT MODIFY  //GEN-BEGIN:variables
    private JButton button1;
    private JButton button2;
    private JButton button3;
    private JButton button4;
    private JButton button5;
    private JPanel panel1;
    private JLabel label6;
    private JLabel label8;
    private JLabel label9;
    private JLabel label10;
    private JLabel label11;
    private JLabel label12;
    private JLabel label13;
    private JComboBox comboBox1;
    private JLabel label14;
    private JTextField textField1;
    private JLabel label15;
    private JComboBox comboBox2;
    private JLabel label16;
    private JComboBox comboBox3;
    private JLabel label17;
    private JTextField textField2;
    private JLabel label18;
    private JTextField textField3;
    private JLabel label19;
    private JTextField textField4;
    private JLabel label20;
    private JTextField textField5;
    private JLabel label21;
    private JTextField textField6;
    private JLabel label22;
    private JTextField textField7;
    private JLabel label23;
    private JTextField textField8;
    private JLabel label24;
    private JTextField textField9;
    private JCheckBox checkBox1;
    private JSpinner spinner1;
    private JLabel label25;
    private JLabel label26;
    private JLabel label27;
    private JSpinner spinner2;
    private JButton button6;
    private JButton button7;
    private JLabel label28;
    private JButton button8;
    private JButton button9;
    private JPanel panel2;
    private JLabel label29;
    private JLabel label30;
    private JLabel label31;
    private JComboBox comboBox4;
    private JPanel panel3;
    private JScrollPane scrollPane1;
    private JTable table1;
    private JPanel panel4;
    private JScrollPane scrollPane2;
    private JTable table2;
    private JLabel label1;
    private JButton button10;
    private JButton button11;
    private JComboBox comboBox5;
    private JLabel label2;
    private JComboBox comboBox6;
    private JLabel label3;
    private JRadioButton radioButton1;
    private JRadioButton radioButton2;
    private JLabel label4;
    private JTextField textField10;
    private JLabel label5;
    private JTextField textField11;
    private JLabel label7;
    private JTextField textField12;
    private JLabel label32;
    private JTextField textField13;
    private JLabel label33;
    private JTextField textField14;
    private JLabel label34;
    private JTextField textField15;
    private JLabel label35;
    private JTextField textField16;
    private JCheckBox checkBox2;
    private JButton button12;
    private JButton button13;
    private JPanel panel5;
    private JLabel label36;
    private JTextField textField17;
    private JLabel label37;
    private JLabel label38;
    private JLabel label39;
    private JLabel label40;
    private JLabel label41;
    private JLabel label42;
    private JLabel label43;
    private JLabel label44;
    private JLabel label45;
    private JLabel label46;
    private JLabel label47;
    private JLabel label48;
    private JLabel label49;
    private JTextField textField18;
    private JButton button14;
    private JButton button15;
    private JLabel label50;
    private JPanel panel8;
    private JScrollPane scrollPane3;
    private JTable table3;
    private JPanel panel6;
    private JPanel panel7;
    // JFormDesigner - End of variables declaration  //GEN-END:variables
}
